package cn.itsource.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Shop {
    private Long id;
    private String name;
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    //店铺状态：1待审核，2审核通过待激活，3激活成功，4驳回
    private Integer state =1;
    private String address;
    private String logo;
    private Long adminId;

    private String employeeUserName;//店铺管理员

    private Employee admin;

    //柱状图
    private String columnChartName; //柱状图名=名称
    private Integer number; //统计数量


}
